import Vue from 'vue'
import App from './App.vue'
import router from './router'
//完整引入
//引入ElementUI组件
import ElementUI from 'element-ui';
//引入ElementUI全部样式
import 'element-ui/lib/theme-chalk/index.css';
import '@/assets/global.css'
Vue.use(ElementUI,{size:'small'})

// 关闭生产提示
Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App),
  beforeCreate() {
		Vue.prototype.$bus = this //安装全局事件总线，$bus就是当前应用的vm
	},
}).$mount('#app')
